|Tools| <Embedding applets as widgets| |Up to Yassl: Scripting language | |Extending yassl>

Yassl: Scripting language Check out the interpreter


5.5 Check out the interpreter

This script creates an interface to a new interpreter instance, allowing you to enter commands interactively with the interpreter. The interface will appear as a separate toplevel window, and you will need to be patient while the interpreter itself is being loaded You need to be on this page when you first use the interpreter, or you will get errors when using the toplevel window.

Using the interface
Enter text in the lower window and click the button. Statements in yassl are terminated with a semicolon. To close it, select Close from the File menu.

Examples

Help from within the interpreter
The Help menu takes you to various parts in the browser. You can also use the help() function, which takes an expression as an argument, and return a string describing any help it finds about the result of that expression. For instance, try help(FrameDispose); Here is the source to the script that makes this interface.
|Tools| <Embedding applets as widgets| |Up to Yassl: Scripting language | |Extending yassl>

KB Sriram
Comments, bug reports: kbs@sbktech.org

Revised: Sat May 25 15:45:32 1996
URL: http://www.sbktech.org/yas_int.html